﻿using System.ComponentModel.DataAnnotations.Schema;

namespace TimeProject.Engine.DbModels
{
    [Table("UserActivity")]
    public class UserActivity : EntityBase
    {
        /// <summary>
        /// The user id.
        /// </summary>
        [ForeignKey("User")]
        public int UserId { set; get; }
        public virtual User User { set; get; }

        /// <summary>
        /// The user activity type.
        /// </summary>
        public UserActivityType Type { set; get; }
    }
}
